﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MyVoteMVC.Data;
using MyVoteMVC.Domain;
using MyVoteMVC.Common;
using MyVoteMVC.Common.Objects;
using MyVoteMVC.Data.Repositories;
using MyVoteMVC.ExcelObject;

namespace MyVoteMVC.Service
{
    public interface ILotteriesService : IDisposable
    {
        //获取周抽奖
        IList<VT_Lotteries> GetWeekLotteriesList(string activityID);
        //获取活动抽奖
        IList<VT_Lotteries> GetActivityLotterysList(string activityID);
        bool AddWeekLotteries(string activityID, string ticketID, string userEmail);
        bool AddActivityLotteries(string activityID, string ticketID, string userEmail, int level); 
        //删除
        bool DeleteLotteries(string LotteriesID);
        int GetActivityLotteriesCount(string activityID);
    }
}
